.buttonsTable tr {
    margin: 5px;
}

.Completed > .djs-visual > rect, .Completed > .djs-visual > circle, .Completed > .djs-visual > polygon {
    stroke: green !important;
    fill:   #e9f1e8 !important;
}
.Completed > .djs-visual > path {
    stroke: green !important;
}

.Cancelled > .djs-visual > rect, .Cancelled > .djs-visual > circle, .Cancelled > .djs-visual > polygon {
    stroke: gray !important;
    fill: #e4e0e0 !important;
}

.Cancelled > .djs-visual > path {
    stroke: gray !important;
}

.Pending > .djs-visual > rect, .Pending > .djs-visual > circle, .Pending > .djs-visual > polygon {
    stroke: orange !important;
    fill: #dbd9a8 !important; /* #8bc286 !important; */
}
.Pending.bpmn_SubProcess > .djs-visual > rect {
    stroke: orange !important;
    fill: #d2dbd2  !important;
}

/*                        
    $('[data-element-id="' + id + '"]>.djs-visual>path').css('stroke', cl);
                        $('[data-element-id="' + id + '"]>.djs-visual circle').css('stroke', cl).css('fill', '#d3dfd2');
*/


.buttonsTable td div {
    text-align: center;
    margin: 2px;
    text-decoration: none;
    background-color: #EEEEEE;
    padding: 4px;
    border: 1px solid #181818;
    border-radius: 3px;
}

.CodeMirror {
    font-family: monospace;
    height: 460px !important;
    color: black;
    direction: ltr;
}

* {
  box-sizing: border-box;
}
.diagramContentsSmall svg 
{
    width: 100%;
    max-height: 400px;
}
legend.fs_legend {
    margin-bottom: 2px;
}
body, html {

  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;

  font-size: 12px;

  height: 100%;
  padding-left: 15px;
  margin: 0;
}

a:link {
  text-decoration: none;
}

.content,
.content > div {
  width: 100%;
  height: 100%;
}

.content > .message {
  text-align: center;
  display: table;

  font-size: 16px;
  color: #111;
}

.content > .message .note {
  vertical-align: middle;
  text-align: center;
  display: table-cell;
}

.content .error .details {
  max-width: 500px;
  font-size: 12px;
  margin: 20px auto;
  text-align: left;
}

.content .error pre {
  border: solid 1px #CCC;
  background: #EEE;
  padding: 10px;
}

.content:not(.with-error) .error,
.content.with-error .intro,
.content.with-diagram .intro {
  display: none;
}


.content .canvas,
.content.with-error .canvas {
  visibility: hidden;
}

.content.with-diagram .canvas {
  visibility: visible;
}

.buttons {
  position: fixed;
  bottom: 20px;
  left: 20px;

  padding: 0;
  margin: 0;
  list-style: none;
}

.buttons > li {
  display: inline-block;
  margin-right: 10px;
}
.buttons > li > a {
  background: #DDD;
  border: solid 1px #666;
  display: inline-block;
  padding: 5px;
}

.buttons a {
  opacity: 0.3;
}

.buttons a.active {
  opacity: 1.0;
}

.form-label {
    width: 35%;
    text-align: right;
    padding-right: 20px !important;
    vertical-align: middle !important;
}